<!DOCTYPE html>
<html> 
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <link href="/adminassets/assets/css/custom-styles.css" rel="stylesheet" />
        <link href="/adminassets/assets/css/bootstrap.css" rel="stylesheet" />
        <link type="text/css" rel="stylesheet" href="/homeassets/login/css/style.css"/>
        <!--[if IE 6]>
            <script src="js/iepng.js" type="text/javascript">
            </script>
            <script type="text/javascript">
                EvPNG.fix('div, ul, img, li, input, a');
            </script>
        <![endif]-->
        <script type="text/javascript" src="/homeassets/login/js/jquery-1.11.1.min_044d0927.js"></script>
        <script type="text/javascript" src="/homeassets/login/js/jquery.bxslider_e88acd1b.js"></script>
        <script type="text/javascript" src="/homeassets/login/js/jquery-1.8.2.min.js"></script>
        <script type="text/javascript" src="/homeassets/login/js/menu.js"></script>
        <script type="text/javascript" src="/homeassets/login/js/select.js"></script>
        <script type="text/javascript" src="/homeassets/login/js/lrscroll.js"></script>
        <script type="text/javascript" src="/homeassets/login/js/iban.js"></script>
        <script type="text/javascript" src="/homeassets/login/js/fban.js"></script>
        <script type="text/javascript" src="/homeassets/login/js/f_ban.js"></script>
        <script type="text/javascript" src="/homeassets/login/js/mban.js"></script>
        <script type="text/javascript" src="/homeassets/login/js/bban.js"></script>
        <script type="text/javascript" src="/homeassets/login/js/hban.js"></script>
        <script type="text/javascript" src="/homeassets/login/js/tban.js"></script>
        <script type="text/javascript" src="/homeassets/login/js/lrscroll_1.js"></script>
        <title>
            agoda登录
        </title>
        <link rel="Shortcut Icon" type="image/x-icon" href="/homeassets/index/images/favicon.ico" />
    </head>
    
    <body>
        <!--Begin Header Begin-->
        <div class="soubg">
            <div class="sou">
                <a href="/"><img src="/homeassets/index/images/logo.png" title="Agoda" alt="Agoda"></a>
                <span class="fr">
                    <span class="fl">
                        你好，请登录&nbsp;<a href="/home/registo" style="color:#ff4e00;">免费注册</a>
                    </span>
                </span>
            </div>
        </div>
        <!--End Header End-->
        <!--Begin Login Begin-->
        <div class="log_bg">
            <div class="login">
                
                <div class="log_c">
                    <form action="/home/login/select" method="post" style="padding:10px 0px 15px 0px">
                        {{ csrf_field() }}
                        <table border="0" style="font-size:14px; margin-top:30px;" cellspacing="0"
                        cellpadding="0">
                            <div class="col-md-12" id="successs" title="点击隐藏">
                                <div class="card">
                                    @if(session('success'))
                                        <div class="alert alert-success">
                                            <strong>
                                                {{ session('success') }}
                                            </strong>
                                        </div>
                                    @endif
                                    @if(session('error'))
                                        <div class="alert alert-danger">
                                            <strong>
                                                {{ session('error') }}
                                            </strong>
                                        </div>
                                    @endif
                                    @if(count($errors) > 0)
                                        <div class="alert alert-danger">
                                            <ul style="list-style:none">
                                                @foreach ($errors->all() as $error)
                                                    <li>{{ $error }}</li>
                                                @endforeach
                                            </ul>
                                        </div>
                                    @endif
                                </div>
                            </div>
                            <tr height="50" valign="top">
                                <td width="35">
                                    &nbsp;
                                </td>
                                <td>
                                    <span class="fl" style="font-size:24px;">
                                        登录
                                    </span>
                                    <span class="fr">
                                        还没有商城账号，
                                        <a href="/home/registo" style="color:#ff4e00;">
                                            立即注册
                                        </a>
                                    </span>
                                </td>
                            </tr>
                            <tr height="70">
                                <td style="width:51px">
                                    用户名
                                </td>
                                <td style="width:250px">
                                    <input type="text" name="username" placeholder="请输入用户名" value="{{ session('homeusername') }}" id="username" class="l_user" />
                                </td>
                            </tr>
                            <tr height="70">
                                <td>
                                    密&nbsp; &nbsp; 码
                                </td>
                                <td>
                                    <input type="password" name="password" placeholder="请输入密码" value="{{ session('homepassword') }}" id="password" class="l_pwd" />
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                                <td style="font-size:12px;line-height:17px;">
                                    <span style="font-family:'宋体';" class="fl">
                                        <label class="r_rad">
                                            <input type="checkbox" name="checkbox" value="checked" />
                                        </label>
                                        <label class="r_txt">
                                            <span style="color:#66666;font-weight:normal">记住密码</span>
                                        </label>
                                    </span>
                                    <span class="fr">
                                        <a href="/home/resetpass/index" style="color:#ff4e00;">
                                            忘记密码?
                                        </a>
                                    </span>
                                </td>
                            </tr>
                            <tr height="60">
                                <td>
                                    &nbsp;
                                </td>
                                <td>
                                    <input type="submit" value="登录" class="log_btn" />
                                </td>
                            </tr>
                        </table>
                    </form>
                </div>
            </div>
        </div>
        <!--End Login End-->
        <!--Begin Footer Begin-->
        <div class="btmbg">
            <div class="btm">
                备案/许可证编号：蜀ICP备12009302号-1-www.dingguagua.com Copyright © 2015-2018 尤洪商城网
                All Rights Reserved. 复制必究 , Technical Support: Dgg Group
                <br />
            </div>
        </div>
    </body>
    <!-- 错误信息隐藏特效 --> 
    <script src="/adminassets/assets/js/successs.js"></script>
    <script>
        $('form').submit(function(){
            if (($('#username').val()) && ($('#password').val())) {
                return true;
            }
            return false;
        })
    </script>
    <!--[if IE 6]>
        <script src="//letskillie6.googlecode.com/svn/trunk/2/zh_CN.js">
        </script>
    <![endif]-->

</html>